package top.lshaci.learning.atguigu.interview3.spring;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import top.lshaci.learning.atguigu.interview3.spring.service.ServiceA;

/**
 * Application
 *
 * @author lshaci
 * @since 1.0.0
 */
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(Application.class, args);
        ServiceA serviceA = context.getBean(ServiceA.class);
        System.err.println(serviceA);
    }
}
